package com.xbdun.comweb.bmp.session;

/**
 * 
 * @author 用户Session
 */
public class UserSessionData implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private String userId; // 机构用户ID
	private String mobile; // 多个手机号使用逗号隔开
	private long loginTimestamp; // 登陆时的时间戳
	private int roleId; // 角色ID
	private long orgCode; // 机构ID
	private String orgName;// 机构名称 必填
	private String userCode; // 用户编号
	private String userName;//用户名，真实姓名优先
	private int platCode;//登录平台Code
	private String jonNum;//员工工号
	private String powersRedisId;//登录用户已经拥有的权限列表
	
	public String getPowersRedisId() {
		return powersRedisId;
	}

	public void setPowersRedisId(String powersRedisId) {
		this.powersRedisId = powersRedisId;
	}

	public String getJonNum() {
		return jonNum;
	}

	public long getLoginTimestamp() {
		return loginTimestamp;
	}

	public String getMobile() {
		return mobile;
	}

	public long getOrgCode() {
		return orgCode;
	}

	public String getOrgName() {
		return orgName;
	}

	public int getPlatCode() {
		return platCode;
	}
	public int getRoleId() {
		return roleId;
	}

	public String getUserCode() {
		return userCode;
	}

	public String getUserId() {
		return userId;
	}
	public String getUserName() {
		return userName;
	}

	public void setJonNum(String jonNum) {
		this.jonNum = jonNum;
	}

	public void setLoginTimestamp(long loginTimestamp) {
		this.loginTimestamp = loginTimestamp;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public void setOrgCode(long orgCode) {
		this.orgCode = orgCode;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public void setPlatCode(int platCode) {
		this.platCode = platCode;
	}
	
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}
